package com.karrysong.blog_springboot.service;

import com.karrysong.blog_springboot.vo.Result;
import com.karrysong.blog_springboot.vo.params.CommentPage;
import com.karrysong.blog_springboot.vo.params.CommentParam;

/**
 * @ClassName: CommentService
 * @Author: KarrySong
 * @Date: 2022/8/6 14:25
 * @Description:
 */
public interface CommentService {
    Result commentsByArticleId(Long id);

    Result comment(CommentParam commentParam);

    Result getComments(CommentPage commentPage);

    Result changeCommentStatus(Long id, Integer newStatus);

    Result deleteComment(Long id);
}
